let birthday = {
    year:2021,
    month:2,
    day:12
}
function getliveDay(birthday){
    let newDate = new Date(birthday.year, birthday.month, birthday.day);
    let nowDate = new Date()
    console.log(newDate)
    console.log(nowDate)
    let currenMax = newDate - nowDate 
    console.log(currenMax)
    let nowDays = Math.floor(currenMax/1000/60/60/24)
    let hour = Math.floor(currenMax- nowDays*1000*60*60*24)/1000/60/60
     let mini = Math.floor(currenMax- time)

    console.log(nowDays)
    console.log(hour)
}
getliveDay(birthday)